package iot.ht.controller.htrole.data;

import io.swagger.v3.oas.annotations.media.Schema;
import iot.core.data.BaseDto;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Data
@Schema(name = "角色Dto",description = "")
public class HTRoleDto extends BaseDto {

    @Schema(name = "平台编号",description = "")
    private  Long  HTPlat_Id =0L;

    @Schema(name = "角色名称",description = "")
    @NotBlank(message = "角色名称不能为空")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Name ="";

    @Schema(name = "备注",description = "")
    private  String  Memo ="";

    @Schema(name = "创建日期",description = "")
    private  Date  Crt_DT ;

    @Schema(name = "创建人编号",description = "")
    private  Long  Crt_UId =0L;

    @Schema(name = "机构编号",description = "")
    private  Long  Crt_DId =0L;

    @Schema(name = "平台名称",description = "")
    private  String  HTPlat_Name ="";

    @Schema(name = "创建人",description = "")
    private  String  Crt_UName ="";

    @Schema(name = "创建机构",description = "")
    private  String  Crt_DName ="";

    @Schema(name = "权限菜单",description = "")
    private  List<Long>  HTMenu_Ids=new ArrayList<>() ;


}
